html,
body,
#app {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    font-size: 16px;
    font-family: Medium;
    box-sizing: border-box;
}

.ellipsisOne {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.row {
    display: flex;
    flex-direction: row;
}

.align-items-center {
    align-items: center;
}

.margin-left15 {
    margin-left: 15px;
}

.flex1 {
    flex: 1;
}

.column {
    display: flex;
    flex-direction: column;
}

.flex1 {
    flex: 1;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.padLR15 {
    padding: 0 15px !important;
}

.padLR5 {
    padding: 0 5px !important;
}

// 处理login登录页van-cell的行高
.zdy-cell-line-height {

    .van-cell {
        line-height: 48px;
        font-size: 16px;
        border-radius: 6px;
        // border: 1px solid #efefef;
    }

    .van-cell__right-icon {
        line-height: 48px;
    }
}

// 全局修改tabs样式
.van-tab__text {
    font-size: 17px;
}

.van-tab--active {
    font-family: 'Bold';

    .van-tab__text {
        font-size: 18px;
    }
}

// 全局修改日历中的按钮
.van-calendar__footer {
    .van-button--block {
        width: 70%;
        margin-left: 15%;
        height: 38px !important;
    }
}

.van-calendar__days {
    .dayColor {
        color: #146af7;
        position: relative;
    }

    .van-calendar__days .dayColor::before {
        position: absolute;
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #146af7;
        bottom: 10px;
        left: 50%;
        transform: translate(-50%);
    }

    .van-calendar__day--start,
    .van-calendar__day--start-end {
        color: #fff;
    }
}

// 全局修改折叠面板的样式
.van-collapse-item {
    margin-bottom: 10px;

    .van-cell {
        padding: 15px;
        border-radius: 10px;
        font-size: 17px;
    }

    .van-collapse-item__content {
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .van-cell__left-icon,
    .van-cell__right-icon {
        font-size: 18px !important;
    }
}

// 全局修改search图标，用iconfont代替
.van-icon-search::before {
    content: '\e6fd' !important;
    font-family: 'iconfont' !important;
    color: rgba(27, 35, 55, 0.3) !important;
}

// 全局修改v的样式图标
.van-icon-arrow-down:before {
    content: '\e784' !important;
    font-family: 'iconfont' !important;
}

// 全局修改>的icon图标
.van-icon-arrow:before {
    content: '\e78d' !important;
    font-family: 'iconfont' !important;
}

// 全局修改√的样式
.van-icon-success:before {
    content: '\e78f' !important;
    font-family: 'iconfont' !important;
}

// 全局修改替换checkbox框未选中状态的icon
.van-icon-circle:before {
    content: '\e6dc' !important;
    font-family: 'iconfont' !important;
}

// 全局修改替换checkbox框选中状态的icon
.van-icon-checked:before {
    content: '\e6df' !important;
    font-family: 'iconfont' !important;
}

// 全局修改√的样式
.van-icon-success:before {
    content: '\e78f' !important;
    font-family: 'iconfont' !important;
}

// 自定义的全局cell布局，padding= 15
.cell-bg-box {
    padding: 12px 15px;
}

// 全局修改search
.van-search__content {
    padding: 2px 10px;
}

.van-field__body {
    padding-left: 10px;
}

// 自定义左右对齐的样式
.space-between-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

// 全局修改vant-ui默认的btnpadding
.van-button {
    padding: 0 12px !important;
}

// 全局自定义flex布局下的cell
.common-div-box {
    .van-cell {
        background-color: #F9F9F9;
        font-family: Bold;
        font-size: 16px;
        color: #999;
        border-radius: 6px;
        padding: 15px;
        display: flex;
        align-items: center;
    }
}

// 全局修改dialog的样式
.van-dialog__header {
    font-family: Bold;
}

.van-dialog__message--has-title {
    padding-top: 15px !important;
}

// 全局修改action-sheet-title
.van-action-sheet__header {

    background: #F9FAFB;
    font-size: 18px !important;
    font-family: Bold;
}

.van-action-sheet__close {
    color: #000 !important;
}

// 修改overlay层级关系
.van-overlay {
    z-index: 99;
}

// btn
.btn-flex-box {
    margin: 50px 0;
    width: 70%;
    margin-left: 15%;
}

// 修改宿管阿姨下，card组件下不需要边距时候的van-cell样式
.none-padding-box {
    .van-cell {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .van-cell:after {
        border-bottom: none;
    }

    .van-cell__title {
        font-family: Bold;
        color: #649FFF;
        font-size: 17px;
    }
}

// 修改申诉列表中的collapse特有样式，全局使用需加上class（other-collapse-box）包裹
.other-collapse-box {
    .van-cell__title {
        font-family: Medium;
        color: #999999;
        font-size: 16px;
    }
}

.van-step {
    font-size: 16px !important;
}

// 全局修改步进器的样式
.van-steps {
    background-color: transparent !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;

    .van-icon__image {
        width: 1.8em;
        height: 1.8em;
    }
}

.van-step__circle-container {

    i {
        font-size: 20px;
    }
}

.van-step--vertical .van-step__line {
    width: 2px !important;
    border: 1px solid #fff;
    left: -17px !important;
}

.van-step--vertical {
    padding-bottom: 15px !important;
}

.van-step--vertical:not(:last-child):after {
    border-bottom-width: 0px !important;
}

// 去除最后一条的line
.remove-line-box {
    .van-step__line {
        width: 0px !important;
        border: none !important;
    }
}

// 修改已完成的line-top长度
.van-step--finish {
    .van-step__line {
        background-color: #30d373 !important;
    }
}

// 修改popup中的关闭按钮
.van-popup__close-icon {
    color: #000;
}

// popup中的title
.popup-title-box {
    font-family: Bold;
    color: #333;
    font-size: 17px;
    text-align: center;
    padding: 15px 0;
    background: #f9fafb;
}

.van-action-sheet__header {
    font-family: Bold;
    color: #333;
    font-size: 17px;
    text-align: center;
    background: #f9fafb;
}

.van-action-sheet__close {
    color: #000 !important;
}

.popup-row-common {
    margin-bottom: 15px;
    color: #333333;

    .van-col:first-child {
        color: #999;
    }
}

.popup-btn-box {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

//   全局修改van-popover
.van-popover {
    width: 84%;
}

.van-collapse-item__content {
    font-size: 16px !important;
}

// 全局控制学校人员端推送管理中的collapse
.teacher-send-box {
    .van-collapse-item__content {
        background-color: transparent;
        padding: 0;
    }
}

// 富文本补充样式
.ql-align-right {
    display: flex;
    justify-content: flex-end;
}

.ql-align-center {
    display: flex;
    justify-content: center;
}

.label-editor-box {
    p {
        margin: 0;
        text-indent: 2em !important;
    }
}

[class*=van-hairline]:after {
    border: none !important;
}

.van-collapse-item--border:after {
    border: none !important;
}

.el-checkbox__inner {
    width: 18px !important;
    height: 18px !important;
}

.el-checkbox__inner::before {
    top: 6px !important;
}

.el-checkbox__inner::after {
    height: 8px !important;
    left: 6px !important;
    top: 3px !important;
}

// 全局修改时间空间得取消确定按钮
.van-picker__cancel,
.van-picker__confirm {
    font-size: 16px !important;
}

.van-picker__confirm {
    color: #146af7 !important;
}

// 驳回理由中得输入框样式
.dialog-input-box {
    .van-field {
        border: 1px solid #c4c4c4;
        border-radius: 6px;
        padding: 10px 5px;
    }
}

// 修改element-plus中el-tree的字体显示大小，默认位14px
.el-tree-node__label {
    font-size: 16px !important;
}

.van-empty__description {
    font-size: 14px !important;
    font-family: 'Regular';
    color: #999999 !important;
}

.rightDrawBox {
    .van-cascader__header {
        height: 100px;
        border-bottom: 1px solid #F1F1F1;
        padding: 0 56px;
    }

    .van-cascader__title {
        font-size: 30px;
        font-family: PingFang SC-Bold, PingFang SC;
        // font-weight: bold;
        color: #333333;
    }

    .van-cascader__close-icon {
        font-size: 38px;
        color: #333333;
    }

    .van-tab--active .van-tab__text {
        font-size: 30px;
        font-weight: 500;
        color: #333333;
    }

    .van-tabs__nav--line.van-tabs__nav--shrink,
    .van-tabs__nav--line.van-tabs__nav--complete {
        padding: 0 56px;
    }

    .van-tab__text {
        font-size: 30px;
    }

    .van-tabs__line {
        width: 108px;
        height: 6px;
    }

    .van-tab {
        line-height: 46px;
    }

    .van-cascader__option {
        font-size: 30px;
        font-weight: 500;
        color: #666666;
        padding: 20px 56px;
        line-height: 48px;
        border-bottom: 1px solid #F1F1F1;
    }

    .van-cascader__option--selected {
        background: #EFF4FF;
    }

    .van-cascader__selected-icon {
        font-size: 38px;
        display: none;
    }

    .van-cascader__tabs.van-tabs--line .van-tabs__wrap {
        height: 90px;
        margin-bottom: 20px;
    }

    .van-tab--shrink {
        padding: 0px;
        margin-right: 80px;
    }

    .van-tabs__line {
        bottom: 0px;
    }

    .van-cascader__options {
        height: 460px;
    }
}

.rightDrawBox.van-popup--bottom.van-popup--round {
    border-radius: 48px 48px 0px 0px;
    min-height: 680px;
}
.rightDrawBox2 {
    .van-cascader__header {
        height: 68px;
        border-bottom: 1px solid #F1F1F1;
        padding: 0 36px;
    }

    .van-cascader__title {
        font-size: 20px;
        font-family: PingFang SC-Bold, PingFang SC;
        // font-weight: bold;
        color: #333333;
    }

    .van-cascader__close-icon {
        font-size: 28px;
        color: #333333;
    }

    .van-tab--active .van-tab__text {
        font-size: 20px;
        font-weight: 500;
        color: #333333;
    }

    .van-tabs__nav--line.van-tabs__nav--shrink,
    .van-tabs__nav--line.van-tabs__nav--complete {
        padding: 0 36px;
    }

    .van-tab__text {
        font-size: 20px;
    }

    .van-tabs__line {
        width: 78px;
        height: 4px;
    }

    .van-tab {
        line-height: 36px;
    }

    .van-cascader__option {
        font-size: 20px;
        font-weight: 500;
        color: #666666;
        padding: 15px 36px;
        line-height: 40px;
        border-bottom: 1px solid #F1F1F1;
    }

    .van-cascader__option--selected {
        background: #EFF4FF;
    }

    .van-cascader__selected-icon {
        font-size: 28px;
        display: none;
    }

    .van-cascader__tabs.van-tabs--line .van-tabs__wrap {
        height: 76px;
        margin-bottom: 20px;
    }

    .van-tab--shrink {
        padding: 0px;
        margin-right: 80px;
    }

    .van-tabs__line {
        bottom: 0px;
    }

    .van-cascader__options {
        height: 360px;
    }
}

.rightDrawBox2.van-popup--bottom.van-popup--round {
    border-radius: 28px 28px 0px 0px;
    min-height: 580px;
}